<div ng-include="'tpl/menu.tpl.html'" ng-controller="MenuController"></div>    

<div>
  <alert ng-repeat="alert in alerts" type="{{alert.type}}" close="closeAlert($index)">{{alert.msg}}</alert>
</div>



<div class="container topic-page">
  <div class="row">
    <div class="col-sm-12 blog-main" >
      <div class="jumbotron">
        <h1>{{topic.title}}</h1>
        <p>主持人：{{topic.user}}</p>
        <p>时间：{{topic.startdate|date:'yyyy年MM月dd日 HH:mm'}}</p>
        <p>
          <rating ng-click="addScore()" ng-model="topic.rate" max="10" readonly="topic.ro"></rating>
        </p>
        <p>
          <span 
            ng-repeat="tag in topic.tags"
          class="label label-success">
          <a ng-href="#!/tag/{{tag}}">{{tag}}</a></span>
        </p>
        <p>
          <a ng-show="topic.valid" href="javascript:void(0)" ng-click="enroll(topic)" class="button button-glow button-rounded button-caution">火速报名</a>       
          </a>        
        </p>
      </div>      
    </div>

    <div class="row">
      <div class="col-sm-12 blog-main" >
        <!---->
        <div btf-markdown  ng-include src="topic.mkdocPath"></div>
      </div>
    </div>
  </div>
</div>

